<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>首页</title>
    <link rel="stylesheet" href="__TMPL__Public/invest/css/bootstrap.min.css">
    <link rel="stylesheet" href="__TMPL__Public/invest/css/flexslider.css">
    <link rel="stylesheet" href="__TMPL__Public/invest/css/index.css">
    <link rel="stylesheet" href="__TMPL__Public/invest/css/style.css">

</head>

<body style="overflow:-Scroll;overflow-x:hidden">
<nav class="navbar navbar-default" role="navigation">
    <tc_include file="Public:nav" />
</nav>
<!--轮播器-->
<div class="container-fluid none1" id="home">
    <div class="row">
        <div class="col col-md-12 fa-1">
            <div class="flexslider">
                <ul class="slides">
                    <li>
                        <a href="#"><img src="__TMPL__Public/invest/images/1.jpg" /></a>
                    </li>
                    <li>
                        <a href="#"><img src="__TMPL__Public/invest/images/2.jpg" alt="2"/></a>
                    </li>
                    <li>
                        <a href="#"><img src="__TMPL__Public/invest/images/3.jpg" alt="3"/></a>
                    </li>
                </ul>
            </div>

        </div>
    </div>
</div>
<div class="da-uesr">
    <div id="da-logon">
        <div class="container">
            <div class="logo" style="display:none;">
                <h3 class="pull-left"><b>登录</b></h3>


                <p class="pull-right logo-zc">没有壹高帐号？<a class="ljzc">立即注册</a></p>
                <div class="clearfix"></div>
                <div class="demobox">

                    <form action="js/test.json" method="post" class="bl-form bl-formhor" id="jsForm">
                        <ul>
                            <li class="bl-form-group">

                                <div class="controls c-dengle">
                                    <input type="text" value="" name="3" class="fn-tinput" placeholder="请填写手机号码" required data-rule-mobile="true" data-msg-required="请输入手机号" data-msg-mobile="请输入正确格式" />
                                </div>
                            </li>
                            <li class="bl-form-group">

                                <div class="controls c-password">
                                    <input class="fn-tinput" type="password" name="password" value="" placeholder="新密码" required id="password" data-rule-remote="php.php">
                                </div>
                            </li>
                            <li class="bl-form-group bl-form-text">

                                <div class="controls c-rember">
                                    <p class="pull-left yollew"><label><input name="checkbox1" type="checkbox" value="" required>记住我</label></p>
                                    <p class="pull-right"><a href="#">忘记密码?</a></p>

                                </div>
                            </li>


                            <li class="bl-form-group bl-form-btns">
                                <div class="controls" id="denglu">
                                    <button class="fn-btn btn-primary btn-submit submitBtn" class="c-denglu" type="submit">登录</button>
                                </div>
                            </li>
                        </ul>
                    </form>
                </div>


            </div>
            <!--注册-->
            <div class="registered" style="display:none;">
                <h3 class="pull-left"><b>注册</b></h3>
                <p class="pull-right logo-zc">已有壹高帐号？<a href="#" class="zjdl">直接登录</a></p>
                <div class="clearfix"></div>
                <div class="c-zhuce">
                    <form action="js/test.json" method="post" class="bl-form bl-formhor" id="jsForm">
                        <ul>

                            <li class="bl-form-group">

                                <div class="controls">
                                    <input type="text" value="" name="0" placeholder="名称" class="fn-tinput"  required data-msg-required="不能为空" data-rule-gt="true" data-gt="0"/>
                                </div>
                            </li>

                            <li class="bl-form-group">

                                <div class="controls">
                                    <ul class="ulist">
                                        <li class="group">

                                            <div class="controls">
                                                <input type="text" id="phone" class="txt" placeholder="请填写手机号码">

                                            </div>



                                        </li>
                                        <li><input type="text" id="code" class="txt">
                                            <button class="btn btn-small get-code" onclick="getCode(this)" id="J_getCode">获取验证码</button>
                                            <button class="btn btn-small reset-code" id="J_resetCode" style="display:none;"><span id="J_second">60</span>秒后重发</button></li>
                                    </ul>

                                </div>
                            </li>


                            <li class="bl-form-group">

                                <div class="controls">
                                    <input class="fn-tinput" type="password" name="password"  placeholder="确认密码" required id="password" data-rule-remote="php.php">
                                </div>

                            </li>

                            <li class="bl-form-group bl-form-text">

                                <div class="controls">
                                    <p class="yollew text-left"><input name="checkbox1" type="checkbox" required>注册成功后，代表您同意我们的<span>服务条款</span></p>
                                </div>
                            </li>
                            <li class="bl-form-group bl-form-btns">

                                <div class="controls">
                                    <button class="fn-btn btn-primary btn-submit submitBtn" type="submit">注册</button>

                                </div>
                            </li>
                        </ul>
                    </form></div>
            </div>
        </div>
    </div>
</div>
<!--内容-->
<div class="container warp">
    <div class="row side-da">
        <!--第二块-->
        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <div class="side-h3">
                <p class="pull-left grey"><span><strong>教练日记</strong></span></p>
                <p class="pull-right p-a-right"><a href="#"><i class="glyphicon glyphicon-refresh"></i>换一换</a>
                    <span>|</span><a href="#" class="grey">查看更多</a></p>
            </div>
            <div class="er-box-list">
                <div class="col-md-6 col-sm-6 col-xs-6">
                    <div class="panel panel-default">
                        <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                            <div class="panel-body">
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <h2>泽富投顾</h2>
                                    <h2 class="lv">-1.59<span>%</span></h2>
                                </div>
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <div id="chart-a" style="width:100%; background-color:#f6f6f6;height:150px;margin:0 auto"></div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="panl-p-b">
                                    <p class="grey panel-p">
                                        1、选择MA(5,10,20)红三个月稳定向上之个股。2、OBV稳定向上且不断创新高。3、在地量出现时分批买进。4、短线获利5%-10%卖出、
                                        中线以30%为出货点。5、以10MA为止损点。
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6 col-sm-6 col-xs-6">
                    <div class="panel panel-default">
                        <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                            <div class="panel-body">
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <h2>泽富投顾</h2>
                                    <h2 class="lv">-1.59<span>%</span></h2>
                                </div>
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <div id="chart-b" style="width:100%; background-color:#f6f6f6;height:150px;margin:0 auto"></div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="panl-p-b">
                                    <p class="grey panel-p">
                                        1、选择MA(5,10,20)红三个月稳定向上之个股。2、OBV稳定向上且不断创新高。3、在地量出现时分批买进。4、短线获利5%-10%卖出、
                                        中线以30%为出货点。5、以10MA为止损点。
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="col-md-6 col-sm-6 col-xs-6">
                    <div class="panel panel-default">
                        <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                            <div class="panel-body">
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <h2>泽富投顾</h2>
                                    <h2 class="red margin-left">1.59<span>%</span></h2>
                                </div>
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <div id="chart-c" style="width:100%; background-color:#f6f6f6;height:150px;margin:0 auto"></div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="panl-p-b">
                                    <p class="grey panel-p">
                                        1、选择MA(5,10,20)红三个月稳定向上之个股。2、OBV稳定向上且不断创新高。3、在地量出现时分批买进。4、短线获利5%-10%卖出、
                                        中线以30%为出货点。5、以10MA为止损点。
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="col-md-6 col-sm-6 col-xs-6">
                    <div class="panel panel-default">
                        <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                            <div class="panel-body">
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <h2>泽富投顾</h2>
                                    <h2 class="red margin-left">1.59<span>%</span></h2>
                                </div>
                                <div class="col-md-6 col-sm-6 col-xs-6">
                                    <div id="chart-d" style="width:100%; background-color:#f6f6f6;height:150px;margin:0 auto"></div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="panl-p-b">
                                    <p class="grey panel-p">
                                        1、选择MA(5,10,20)红三个月稳定向上之个股。2、OBV稳定向上且不断创新高。3、在地量出现时分批买进。4、短线获利5%-10%卖出、
                                        中线以30%为出货点。5、以10MA为止损点。
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>


            </div>
        </div>
        <div class="clearfix"></div>
        <!--第三块-->
        <div class="side-da-er">
            <div class="side-h3">
                <p class="pull-left grey"><span><strong>金融学吧</strong></span></p>
                <p class="pull-right p-a-right">
                    <!--<a href="#"><i class="glyphicon glyphicon-refresh"></i>换一换</a><span>|</span>-->
                    <a href="#" class="grey">查看更多</a>
                </p>
            </div>
            <div class="san">
                <foreach name="course" item="vo">
                    <div class="col-md-3 col-sm-6 col-xs-12 san-box">
                        <div class="thumbnail no-xian san-content">
                            <php>$smeta=json_decode($vo['smeta'],true);</php>
                            <if condition="$smeta['thumb']">
                                <img style="" src="{:sp_get_asset_upload_path($smeta['thumb'])}" alt="通用的占位符缩略图">
                                <else />
                                <img src="__TMPL__Public/invest/images/a2.jpg" alt="通用的占位符缩略图">
                            </if>
                            <div class="caption s-box-b">
                                <p class="san-p">{$vo.signature}</p>
                                <p>
                                    <a href="#" class=" green"><if condition="$vo['shop_price'] eq 0">免费<else /><a href="#" class="red">￥{$vo.shop_price}</a></if></a>
                                </p>
                                <div>
                                    <p class="pull-left"><a href="#" class=" pull-right grey"> {$vo.teaname}</a></p>
                                    <p class="pull-right"><a href="#" class=" pull-right grey"> {$vo.number}人次学习</a></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </foreach>
            </div>
        </div>
        <div class="clearfix"></div>
        <!--第四块-->
        <div class="side-da-er">
            <div class="side-h3 side-wu">
                <div id="nav-menu">
                    <ul class="nav nav-tabs" id="nav">
                        <php>$classify = I('param.classify');</php>
                        <li <if condition="$classify eq 2"> class="active" </if> ><a href="{:U('Invest/Index/index',array('classify'=>2))}#home-ke" class="grey" >高级精品课</a></li>
                        <li <if condition="$classify eq 1"> class="active" </if> ><a href="{:U('Invest/Index/index',array('classify'=>1))}#home-ke">精英游学班</a></li>
                    </ul>
                </div>
            </div>
            <div class="tab-content">
                <div id="home-ke" class="tab-pane fade in active">
                    <div class="row c-box cur">
                        <div class="san si">
                            <div class="row">
                                <foreach name="activity" item="vo">
                                    <php>$smeta=json_decode($vo['smeta'],true);</php>
                                    <div class="col-md-4 col-sm-4 col-xs-12 si-box">
                                        <div class="thumbnail san-content si-content">
                                            <if condition="$smeta['thumb']">
                                                <img style="" src="{:sp_get_asset_upload_path($smeta['thumb'])}" alt="通用的占位符缩略图">
                                                <else />
                                                <img src="__TMPL__Public/invest/images/a2.jpg" alt="通用的占位符缩略图">
                                             </if>

                                            <div class="caption s-box-b si-box-b">
                                                <p class="si-p">{$vo.name}</p>
                                                <div class="pull-left si-time">
                                                    <p><span class="grey"><i class="glyphicon glyphicon-time"></i>{:date('Y-m-d',$vo['act_start_time'])}至{:date('Y-m-d',$vo['act_end_time'])}</span></p>
                                                    <p><span class="grey"><i class="glyphicon glyphicon-map-marker"></i>{$vo.address}</span></p>
                                                </div>
                                                <p class="pull-right entered"><a href="#">我要报名</a></p>

                                            </div>
                                        </div>
                                    </div>
                                </foreach>
                            </div>
                        </div>


                    </div>
                </div>

                <!--<div id="menu1" class="tab-pane fade">
                    <div class="cur">
                        <div class="row c-box cur">
                            <div class="san si">
                                <div class="col-md-4 col-sm-4 col-xs-12 si-box">
                                    <div class="thumbnail san-content si-content">
                                        <img src="__TMPL__Public/invest/images/a3.jpg" alt="通用的占位符缩略图">
                                        <div class="caption s-box-b si-box-b">
                                            <p class="si-p">线下活动报名|如果分析对数据的起敬：聚焦用户，看你如何“撩”动TA</p>
                                            <div class="pull-left si-time">
                                                <p><span class="grey"><i class="glyphicon glyphicon-time"></i>2015-09-14 20:30-21:30</span></p>
                                                <p><span class="grey"><i class="glyphicon glyphicon-map-marker"></i>广州</span></p>
                                            </div>
                                            <p class="pull-right entered"><a href="#">我要报名</a></p>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-4 col-sm-4 col-xs-12 si-box">
                                    <div class="thumbnail san-content si-content">
                                        <img src="__TMPL__Public/invest/images/a3.jpg" alt="通用的占位符缩略图">
                                        <div class="caption s-box-b si-box-b">
                                            <p class="si-p">线下活动报名|如果分析对数据的起敬：聚焦用户，看你如何“撩”动TA</p>
                                            <div class="pull-left si-time">
                                                <p><span class="grey"><i class="glyphicon glyphicon-time"></i>2015-09-14 20:30-21:30</span></p>
                                                <p><span class="grey"><i class="glyphicon glyphicon-map-marker"></i>广州</span></p>
                                            </div>
                                            <p class="pull-right entered"><a href="#">我要报名</a></p>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-4 col-sm-4 col-xs-12 si-box">
                                    <div class="thumbnail san-content si-content">
                                        <img src="__TMPL__Public/invest/images/a3.jpg" alt="通用的占位符缩略图">
                                        <div class="caption s-box-b si-box-b">
                                            <p class="si-p">线下活动报名|如果分析对数据的起敬：聚焦用户，看你如何“撩”动TA</p>
                                            <div class="pull-left si-time">
                                                <p><span class="grey"><i class="glyphicon glyphicon-time"></i>2015-09-14 20:30-21:30</span></p>
                                                <p><span class="grey"><i class="glyphicon glyphicon-map-marker"></i>广州</span></p>
                                            </div>
                                            <p class="pull-right entered"><a href="#">我要报名</a></p>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>-->
            </div>
        </div>

    </div>
    <!--第五块-->
    <div class="wu-content">
        <div class="col-md-9 col-sm-12 col-xs-12 wu-left">
            <div class="side-h3 side-wu">
                <p class="pull-left grey"><span><strong>博文</strong></span></p>
            </div>
            <div class="wu-box">
                <php>
                    $apicer = D('Portal/Api','Service');
                    $list= $apicer->postsPagedByTermId('1','field:post_title,uid,post_content,post_hits,post_modified;limit:0,8;order:post_date desc,listorder desc;');
                    $teacheerids = array();
                    foreach ($list['posts'] as $id){
                        array_push($teacheerids,$id['uid']);
                    }
                    $teaname= M('Users')->where(array('id'=>array('in',$teacheerids)))->getField('id,user_nicename,avatar',true);
                    foreach ($list['posts'] as $key=>$value){
                        $list['posts'][$key]['teaname'] = $teaname[$value['uid']]['user_nicename'];
                        $list['posts'][$key]['avatar'] = $teaname[$value['uid']]['avatar'];
                    }

                </php>
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="panel panel-default no-xian wu-panel">
                        <div class="panel-body wu-p-body">
                            <foreach name="list['posts']" item="vo">
                                <div class="up-box" id="contents">
                                    <dl class="up-photo contentlist">
                                        <dd>
                                            <h2><a href="#">{$vo.post_title}</a></h2>
                                            <p class="wenzi">{$vo.post_content|msubstr=0,276}<</p>
                                            <p class="dd-p pull-left"><a href="#" class="a-img"><img src="{:sp_get_image_url($vo['avatar'])}" /></a>
                                                <a href="#" class="name">{$vo.teaname}</a><span class="dot"></span>
                                            </p>
                                            <ul class="down-tip pull-right">
                                                <li><span class="yollew">{$vo.post_hits}</span>阅读</li>
                                                <li>{$vo.post_modified}</li>
                                            </ul>
                                        </dd>
                                    </dl>
                                </div>
                            </foreach>
                        </div>
                    </div>

                </div>
            </div>


            <div class="aa">
                <a href="#">查看更多</a>
            </div>
        </div>
    </div>
</div>
<!--第六块-->
<div class="liu-bananer">
    <div class="container">
        <div class="liu-b-box">
            <h3 class="text-center"><strong>风险提示</strong></h3>
            <span class="text-center">TIPS</span>
            <p class="text-center">1、教练日记基于模拟炒股进行交易操作和分析，仅供教学和游戏，并不能作为您实盘操作的依据，无法确保您的账户资金不受亏损；切勿根据这款教
                学产品来进行实盘操作，否则风险自负。；</p>
            <p class="text-center">2、金融日记为导师个人看法，不代表其壹高学堂平台建议。仅供参考，投资有风险，入市需谨慎！</p>
            <p class="text-center">3、认真看平台内容，并根据自身经济实力、投资经验和风险承受能力独立做出投资决定，承担风险和可能的损失。 股市有风险，投资需谨慎！</p>
        </div>
    </div>

</div>
<!--第七块footer-->
<div class="clearfix"></div>
<div class="footer">
    <div class="container">
        <div class="footer-a">
            <div class="col-md-9 col-sm-9 col-xs-9">
                <ul class="footer-menu">
                    <li><a href="index.html">壹高学堂首页</a><span>|</span></li>
                    <li><a href="#">联系我们</a><span>|</span></li>
                    <li><a href="#">壹高客户端</a><span>|</span></li>
                    <li><a href="#">法律声明</a><span>|</span></li>
                    <li><a herf="#">运营许可</a><span>|</span></li>
                    <li><a href="#">申述中心</a><span></span></li>
                </ul>
                <div class="clearfix"></div>
                <div class="bottom">
                    <p class="text-left">广州粤高职业技能技术培训有限公司版权所有</p>
                    <p class="text-left">Copyright © 2010-2016 YIGAOEDU.COM - 壹高学堂 - 粤ICP备16064576号   <a href="#">网站地图</a></p>
                </div>
            </div>

            <div class="col-md-3 col-sm-3 col-xs-3 footer-e">

                <div class="col-md-6 col-sm-6 col-xs-6 f-e-left">
                    <img src="__TMPL__Public/invest/images/u188.jpg">
                    <p>扫码关注公众号</p>
                </div>



            </div>
        </div>

        <!--最后一部分-->


    </div>
</div>
<div class="hei"></div>
</body>
</html>

<!--<script src="__TMPL__Public/invest/js/jquery-1.8.3.js"></script>-->
<tc_include file="Public:scripts" />
<!--<script type="text/javascript" src="__TMPL__Public/invest/js/highcharts.js"></script>-->

<!--<script src="__TMPL__Public/invest/js/bootstrap.min.js"></script>-->
<script src="__TMPL__Public/invest/js/jquery.flexslider.js"></script>

<!--<script src="__TMPL__Public/invest/js/jquery.validate.js"></script>-->
<!--<script src="__TMPL__Public/invest/js/index-a.js"></script>-->
<script>
    //幻灯片
    $(document).ready(function(){
        $('#reg-form').easyform();
    });
    $(window).load(function(){
        $('.flexslider').flexslider({
            animation: "slide",
            start: function(slider){
                $('body').removeClass('loading');
               // $('.menu').singlePageNav();
            }
        });
    });
</script>

